import app from './modules/app'
import route from './modules/route'
import user from './modules/user'
import componentCommunicate from "./modules/componentCommunicate";

// TODO 需要实现多Vue版本的适配
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const store = new Vuex.Store({
    modules: {
        app,
        route,
        user,
        componentCommunicate
    }
})

export default store
